module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset',
    ["@babel/preset-env", {
      "targets":  {
        "node": "current"
      },
    }],
  ],
  "env": {
    // "unit": {
    //   "presets": [['@babel/preset-env', { "targets": { "node": "current" }}]]
    // }
  },
  plugins: [
    [
      "import",
      {
        libraryName: "ant-design-vue",
        libraryDirectory: "es",
        style: "css"
      }
    ],
    '@babel/plugin-transform-runtime',
    // 'transform-require-context'
  ],
}